package com.fyl.pattern.builder.demo1;

/**
 * 抽象建造者
 */
public abstract class Builder {

    //本类 本包 子类可访问   其他包不可访问
    protected Bike bike = new Bike();

    public abstract void buildFrame();
    public abstract void buildSeat();

    public abstract Bike createBike();
}
